/**
* @file   ShapeOverlayControllerTest.cpp
* @brief  Implementation file for class ShapeOverlayControllerTest
* @date   2011-04-16 00:52:15
* @author Yanze Lian
* @email  <yanzel@gmail.com>
*/

#include "stdafx.h"
#include "ShapeOverlayControllerTest.h"
#include "..\..\VideoEditor\FilterTitleOverlay\ShapeOverlayController.h"


CPPUNIT_TEST_SUITE_REGISTRATION(ShapeOverlayControllerTest);

ShapeOverlayControllerTest::ShapeOverlayControllerTest()
{
}

ShapeOverlayControllerTest::~ShapeOverlayControllerTest()
{
}

void ShapeOverlayControllerTest::setUp()
{
}

void ShapeOverlayControllerTest::tearDown()
{
}

void ShapeOverlayControllerTest::test()
{
	ShapeOverlayController shapeOverlay;
	CPPUNIT_ASSERT_EQUAL(TRUE, shapeOverlay.CreateTitleDIBBits());
	CPPUNIT_ASSERT_EQUAL(720, shapeOverlay.GetImageWidth());
	CPPUNIT_ASSERT_EQUAL(576, shapeOverlay.GetImageHeight());
	CPPUNIT_ASSERT_EQUAL(24, shapeOverlay.GetImageBitCount());
}

